package com.web.base.open.message;

import com.blue.core.dict.State;
import com.blue.core.tree.ITreeItem;

import java.io.Serializable;

/**
 * 开放平台链接响应内容
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年02月27日
 */
public class UrlResponse implements Serializable, ITreeItem
{
	private static final long serialVersionUID = 1L;

	private Integer id; // 编号
	private Integer parentId; // 上级编号
	private String name; // 名称
	private String descp; // 描述
	private String url; // 链接
	private State state; // 状态

	private Integer select; // 是否选中，0选中

	public UrlResponse()
	{
	}

	@Override
	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	@Override
	public Integer getParentId()
	{
		return this.parentId;
	}

	public void setParentId(Integer parentId)
	{
		this.parentId = parentId;
	}

	public String getName()
	{
		return this.name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getDescp()
	{
		return this.descp;
	}

	public void setDescp(String descp)
	{
		this.descp = descp;
	}

	public String getUrl()
	{
		return this.url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

	public State getState()
	{
		return this.state;
	}

	public void setState(State state)
	{
		this.state = state;
	}

	public Integer getSelect()
	{
		return select;
	}

	public void setSelect(Integer select)
	{
		this.select = select;
	}

}
